/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.chat-pull-request-content-part {
	border: 1px solid var(--vscode-chat-requestBorder);
	border-radius: 4px;
}

.chat-pull-request-content-part .container {
	padding: 16px 16px 8px;
	display: flex;
	flex-direction: row;
}

.chat-pull-request-content-part .container .icon {
	padding-right: 4px;
	padding-top: 2px;
}

.chat-pull-request-content-part .content-container {
	display: flex;
	flex-direction: column;
}

.chat-pull-request-content-part .title-container {
	flex-direction: row;
	display: flex;
	gap: 4px;
	font-size: large;
	padding-bottom: 10px;
	margin: unset;
}

.chat-pull-request-content-part .title-container .link {
	color: var(--vscode-textLink-foreground);
}

.chat-pull-request-content-part .title-container .icon.codicon {
	font-size: large;
}

.chat-pull-request-content-part .description {
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	position: relative;
}

.chat-pull-request-content-part .description::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4em;
	/* Adjust as needed */
	pointer-events: none;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--vscode-sideBar-background));

}
